﻿using Interfaces;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using Services;

namespace ELF.Modules;

public class ELFDDDInfrastructureModule : BaseModule
{
    public override Task ConfigureServicesAsync(IHostApplicationBuilder builder)
    {
        builder.Services.AddHttpContextAccessor();
        builder.Services.AddScoped<IUser, CurrentUser>();
        return base.ConfigureServicesAsync(builder);
    }
}
